package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-业务组类型明细对象 erp_king_base_business_group_detail
 *
 * @author cxl
 * @date 2024-06-20
 */
@TableName ("erp_king_base_business_group_detail")
@ApiModel (value = "金蝶-业务组类型明细", description = "金蝶-业务组类型明细")
@Data
@Accessors(chain = true)
public class KingBaseBusinessGroupDetailEntity{

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 业务组id */
        @ApiModelProperty ("业务组id")
        @TableField ("business_group_id")
        @Excel (name = "业务组id")
        private String businessGroupId;

        /** 业务组织 */
        @ApiModelProperty ("业务组织")
        @TableField ("business_dept")
        @Excel (name = "业务组织")
        private String businessDept;

        /** 业务编码 */
        @ApiModelProperty ("业务编码")
        @TableField ("business_code")
        @Excel (name = "业务编码")
        private String businessCode;

        /** 业务组名称 */
        @ApiModelProperty ("业务组名称")
        @TableField ("business_name")
        @Excel (name = "业务组名称")
        private String businessName;

        /** 是否启用 */
        @ApiModelProperty ("是否启用")
        @TableField ("is_enabled")
        @Excel (name = "是否启用")
        private Boolean isEnabled;

        /** 描述 */
        @ApiModelProperty ("描述")
        @TableField ("describe_info")
        @Excel (name = "描述")
        private String describeInfo;

        /** 创建人Id */
        @ApiModelProperty ("创建人Id")
        @TableField ("user_id")
        @Excel (name = "创建人Id")
        private String userId;

        @ApiModelProperty ("创建时间")
        @TableField ("create_time")
        @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
        private Date createTime;

        /** 更新时间 */
        @ApiModelProperty ("更新时间")
        @TableField ("change_time")
        @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
        private Date changeTime;

        @ApiModelProperty ("逻辑删除")
        @TableField ("is_used")
        @Excel (name = "逻辑删除")
        private Integer isUsed;


}
